/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.tianyun.cloud.rest.configuration;

import java.util.List;

/**
 * @auther ebert_chan
 */
public class RestTemplateProperties {

    private Integer connectTimeout = 60000;

    private Integer readTimeout = 60000;

    private Integer maxConnTotal;

    private Integer maxConnPerRoute;

    private List<String> contextTrustDomains;

    public Integer getConnectTimeout() {
        return connectTimeout;
    }

    public void setConnectTimeout(Integer connectTimeout) {
        this.connectTimeout = connectTimeout;
    }

    public Integer getReadTimeout() {
        return readTimeout;
    }

    public void setReadTimeout(Integer readTimeout) {
        this.readTimeout = readTimeout;
    }

    public Integer getMaxConnTotal() {
        return maxConnTotal;
    }

    public void setMaxConnTotal(Integer maxConnTotal) {
        this.maxConnTotal = maxConnTotal;
    }

    public Integer getMaxConnPerRoute() {
        return maxConnPerRoute;
    }

    public void setMaxConnPerRoute(Integer maxConnPerRoute) {
        this.maxConnPerRoute = maxConnPerRoute;
    }

    public List<String> getContextTrustDomains() {
        return contextTrustDomains;
    }

    public void setContextTrustDomains(List<String> contextTrustDomains) {
        this.contextTrustDomains = contextTrustDomains;
    }

}
